process.nextTick(() => console.log(1));
Promise.resolve()
  .then(() => console.log(2))
  .then(() => console.log(3));
setTimeout(() => console.log(4), 0);
console.log(5);
